home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / wx_lib10.zoo / wx_full.c < prev    next >
C/C++ Source or Header  |  1992-08-01  |  417b  |  25 lines

  1. #include <wx_lib.h>
  2.  
  3. /*
  4.  * This function sets the window to its declared full size.
  5.  */
  6. void    wx_full(ws)
  7. Window    *ws;
  8. {
  9.     /*
  10.      * Set the window.
  11.      */
  12.     wind_set(ws->hand,WF_CURRXYWH,ws->full.g_x,ws->full.g_y,
  13.             ws->full.g_w,ws->full.g_h);
  14.     /*
  15.      * Update all our GRECTs.
  16.      */
  17.     wx_get(ws);
  18.     ws->xpos = ws->minx;
  19.     ws->ypos = ws->miny;
  20.     /*
  21.      * Re-set our clipping rectangle.
  22.      */
  23.     wx_setclip(ws);
  24. }
  25.